package com.demo.common.email.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 邮件属性
 *
 * @author DayDayUp
 * create on 2023-08-28
 **/
@Data
@ConfigurationProperties(prefix = EmailProperties.PREFIX)
public class EmailProperties {
    public static final String PREFIX = "spring.mail";

    /**
     * 发件人
     */
    private String username;
}
